<?=gen_page_select_limit($count,0,array("onchange"=>"_search_collegian_report_admin_02()"))?>
<div style="height:30px"></div>
<table style="margin: 0 auto"  align="center"  class="formtable" width="94%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th colspan="8" align="center" valign="middle">
        &nbsp;<b>แสดงข้อมูลนักศึกษา  <?=$collegian_datay->num_rows()?> รายการ</b>
    </th>
  </tr>
  <tr>
    <th width="3%" align="center" valign="middle">ลำดับ</th>
    <th width="5%" align="center" valign="middle">รหัส</th>
    <th width="15%" align="center" valign="middle">ชื่อ-สกุล</th>
    <th width="12%" align="center" valign="middle">โปรแกรมวิชา</th>
    <th width="3%" align="center" valign="middle">ข้อมูลกิจกรรม</th>
  </tr>
  <?php $no = 1; ?>
  <?php foreach($collegian_datay->result_array() as $row){  ?>
  <tr>
    <td align="center" valign="middle">&nbsp;<b><?=$no++?></b></td>
    <td align="center" valign="middle">&nbsp;<b><?=$row["collegian_code"]?></b></td>
    <td align="left" valign="middle">&nbsp;<?=$row["collegian_name"]?></td>
    <td align="center" valign="middle">&nbsp;<?=$row["major_title"]?></td>
    <td align="center" valign="middle">
        <a  target="_bank"  href="<?=base_url()?>activity/display_collegian_activity/ID/<?=$row["collegian_id"]?>>"  >
           <input    class="button-x orange autosize"  type="button" value="  ข้อมูลการเข้าร่วมกิจกรรม "   />
        </a>
    </td>
  </tr>
  <?php } ?>
</table>
<div style="height:30px"></div>